Contents page

Rules for Tools/struct MacroTool


struct MacroTool
struct MacroLine {
    struct Tool *toollist;      /* List of tools. */
    struct Tool *point;         /* For making display. */
    unsigned long marks[10];    /* For figuring out display. */
    short markindex;            /* Farthest right bit in marks. */ 
};

struct MacroTool {
    struct Tool tool;           /* Tool definition. */
    struct Tool *intool;        /* Tool at start of macro. */
    struct MacroLine macroline[6];/* Array of macrolines. */
    short inline;               /* Which line input goes to. */
    short toolsleft;            /* Left edge of tool list. */
    short toolswidth;           /* Width of tools. */
    short toolsindent;          /* Indentation into tools. */ 
};

struct MacroMaster {
    struct ToolMaster master;   /* Tool Master structure. */
    struct MacroTool *macro;    /* The macro tool. */
    char saved;                 /* Latest version saved. */ 
};